package com.cqyc.shop.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class Cart implements Serializable{
	private static final long serialVersionUID = -107224421891714721L;

	public Cart () {
		
	}
	public Cart(String usercode) {
		this.usercode = usercode;
	}
	public Cart(String usercode,String shopname) {
		this.usercode = usercode;
		this.shopname = shopname;
	}
	private Integer id;
	private  String usercode;
	private  String shopname;
	private  String  cartimg;
	private String cartinfo;
	private  Date   cartdate;
	private String cartauthor;
	private BigDecimal price;
	private Integer howmany;
	private  Integer  buytotal;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getUsercode() {
		return usercode;
	}
	public void setUsercode(String usercode) {
		this.usercode = usercode;
	}
	public String getCartimg() {
		return cartimg;
	}
	public void setCartimg(String cartimg) {
		this.cartimg = cartimg;
	}
	public String getCartinfo() {
		return cartinfo;
	}
	public void setCartinfo(String cartinfo) {
		this.cartinfo = cartinfo;
	}
	public Date getCartdate() {
		return cartdate;
	}
	public void setCartdate(Date cartdate) {
		this.cartdate = cartdate;
	}
	public String getCartauthor() {
		return cartauthor;
	}
	public void setCartauthor(String cartauthor) {
		this.cartauthor = cartauthor;
	}
	public BigDecimal getPrice() {
		return price;
	}
	public void setPrice(BigDecimal price) {
		this.price = price;
	}
	public Integer getBuytotal() {
		return buytotal;
	}
	public void setBuytotal(Integer buytotal) {
		this.buytotal = buytotal;
	}
	public String getShopname() {
		return shopname;
	}
	public void setShopname(String shopname) {
		this.shopname = shopname;
	}
	public Integer getHowmany() {
		return howmany;
	}
	public void setHowmany(Integer howmany) {
		this.howmany = howmany;
	}
	
	
}
